<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('/', function () {
    return 'hello,parsingXML!';
});

//发布解析任务
Route::rule("pushParsingXMLTask","ParsingXMLTaskPush/pushParsingXMLTask","post|get");
//获取列表
Route::rule("getBarrageList","BarrageController/getBarrageList","post|get");
// 获取房间列表
Route::rule("getRoomIdList","RoomController/getRoomIdList","post|get");
//获取排名
Route::rule("getBarrageSendTop","BarrageController/getBarrageSendTop","post|get");